package ioc;

/**
 * Created by IntelliJ IDEA.
 * User: zm
 * Date: 2023/4/9
 */
public class Framework {
    private Bottom bottom;
    public Framework(Bottom bottom){
         this.bottom = bottom;
    }
    public void init(){
        System.out.println("执行了Framework");
        bottom.init();
     }
}
